<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-size: 14px;
            margin: 0 auto;
        }

        li {
            list-style: none;
        }

        .container {
            width: 1200px;
        }

        .header {
            position: sticky;
            top: 0;
            z-index: 100;
            height: 66px;
            width: 100%;
            text-align: center;
            margin-bottom: 10px;
            background-color: #888;
        }



        .main1 {
            display: flex;
            height: 500px;
        }

        .main1 .nav {
            flex: 2;
            background-color: #666;
        }

        .main1 .banner {
            flex: 8;
            text-align: center;
            background-color: #6cf;
        }

        .main2 {
            display: flex;
            justify-content: space-between;

        }

        .main2 .body {
            height: 300px;
            width: 270px;
            margin: 20px 0;
            background-color: #6cf;

            transition: all .2s;
        }

        .main2 .body:hover {
            transform: translateY(-5px);
            box-shadow: 1px 8px 6px 3px rgba(0, 0, 0, .5);
        }

        .footer {
            width: 100%;
            height: 400px;
            background-color: #fafafb;
        }
    </style>
</head>

<body>
    <div class="header">
        <div class="container">

        </div>
    </div>

    <div class="container">

        <div class="main1">
            <div class="nav">
                侧边栏
            </div>
            <div class="banner">
                轮播图
            </div>
        </div>

        <div class="main2">
            <div class="body">
                1
            </div>
            <div class="body">
                2
            </div>
            <div class="body">
                3
            </div>
            <div class="body">
                4
            </div>


        </div>

        <div class="main2">
            <div class="body">
                1
            </div>
            <div class="body">
                2
            </div>
            <div class="body">
                3
            </div>
            <div class="body">
                4
            </div>

        </div>


    </div>


    <div class="footer">
        底部信息
        &copy;
    </div>

</body>

</html>